﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Web
{
    public partial class ValidatorTest : PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //this.regButton.ServerClick += new EventHandler(send_Click);
        }

        protected void regButton_Click(object sender, EventArgs e)
        {
            Alert("提交成功");
        }

        protected void send_Click(object sender, EventArgs e)
        {
           // Work.AssistantManage.Services.IInstantMessage s = new Work.AssistantManage.Business.BUSInstantMessage();
           // string title = "的撒旦撒倒萨";
           // string content = "的发生的撒倒萨说的";
           // string[] receivers = {"admin"};

           // bool b = s.SendInstantMessage(title, this.CurrentUser.User_ID, this.CurrentUser.User_Name, receivers, content, Work.AssistantManage.Common.EnumSMSType.COMMISSION, true, Work.AssistantManage.Common.EnumPriorityLevel.HIGH, null);
           //if (b)
           //{
           //    Alert("发送消息成功");
           //}
        }
    }
}
